AL SET SOUND SPEED

This function will set the speed at which the sound is played. Increasing or decreasing the speed will also adjust its pitch. Playing a sound faster will increase its pitch. Playing a sound slower will decrease its pitch.

  Syntax
AL SET SOUND SPEED soundNumber, speed
  Parameters
soundNumber
Integer
The sound number.
speed
Float
The speed the sound is played. A value of 1.0 plays the sound at normal speed. A value of 0.5 will play it at half the normal speed. A value of 2.0 will play the sound twice as fast. The default value is 1.0.

  Returns

This function does not return a value.

  See also

DarkAL Functions Menu